home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / progs / sviluppo / python-1.4 / lib / test / testall.out < prev    next >
Text File  |  1996-12-17  |  2KB  |  202 lines

  1. test_grammar
  2. 1. Parser
  3. 1.1 Tokens
  4. 1.1.1 Backslashes
  5. 1.1.2 Numeric literals
  6. 1.1.2.1 Plain integers
  7. 1.1.2.2 Long integers
  8. 1.1.2.3 Floating point
  9. 1.1.3 String literals
  10. 1.2 Grammar
  11. single_input
  12. file_input
  13. expr_input
  14. eval_input
  15. funcdef
  16. simple_stmt
  17. expr_stmt
  18. print_stmt
  19. 1 2 3
  20. 1 2 3
  21. 1 1 1
  22. del_stmt
  23. pass_stmt
  24. flow_stmt
  25. break_stmt
  26. continue_stmt
  27. return_stmt
  28. raise_stmt
  29. import_stmt
  30. global_stmt
  31. exec_stmt
  32. if_stmt
  33. while_stmt
  34. for_stmt
  35. try_stmt
  36. suite
  37. test
  38. comparison
  39. binary mask ops
  40. shift ops
  41. additive ops
  42. multiplicative ops
  43. unary ops
  44. selectors
  45. atoms
  46. classdef
  47. test_opcodes
  48. 2. Opcodes
  49. XXX Not yet fully implemented
  50. 2.1 try inside for loop
  51. 2.2 raise class exceptions
  52. test_operations
  53. 3. Operations
  54. XXX Not yet implemented
  55. test_builtin
  56. 4. Built-in functions
  57. test_b1
  58. __import__
  59. abs
  60. apply
  61. callable
  62. chr
  63. cmp
  64. coerce
  65. compile
  66. delattr
  67. dir
  68. divmod
  69. eval
  70. execfile
  71. filter
  72. float
  73. getattr
  74. hasattr
  75. hash
  76. hex
  77. id
  78. int
  79. len
  80. long
  81. map
  82. max
  83. min
  84. test_b2
  85. oct
  86. open
  87. ord
  88. pow
  89. range
  90. input and raw_input
  91. testing
  92. testing
  93. reduce
  94. reload
  95. repr
  96. round
  97. setattr
  98. str
  99. tuple
  100. type
  101. vars
  102. xrange
  103. test_exceptions
  104. 5. Built-in exceptions
  105. AttributeError
  106. EOFError
  107. IOError
  108. ImportError
  109. IndexError
  110. KeyError
  111. KeyboardInterrupt
  112. (not testable in a script)
  113. MemoryError
  114. (not safe to test)
  115. NameError
  116. OverflowError
  117. RuntimeError
  118. (not used any more?)
  119. SyntaxError
  120. SystemError
  121. (hard to reproduce)
  122. SystemExit
  123. TypeError
  124. ValueError
  125. ZeroDivisionError
  126. test_types
  127. 6. Built-in types
  128. 6.1 Truth value testing
  129. 6.2 Boolean operations
  130. 6.3 Comparisons
  131. 6.4 Numeric types (mostly conversions)
  132. 6.4.1 32-bit integers
  133. 6.4.2 Long integers
  134. 6.4.3 Floating point numbers
  135. 6.5 Sequence types
  136. 6.5.1 Strings
  137. 6.5.2 Tuples
  138. 6.5.3 Lists
  139. 6.5.3a Additional list operations
  140. 6.6 Mappings == Dictionaries
  141. test_math
  142. math module, testing with eps 1e-05
  143. constants
  144. acos
  145. asin
  146. atan
  147. atan2
  148. ceil
  149. cos
  150. cosh
  151. exp
  152. fabs
  153. floor
  154. fmod
  155. frexp
  156. hypot
  157. ldexp
  158. log
  159. log10
  160. modf
  161. pow
  162. sin
  163. sinh
  164. sqrt
  165. tan
  166. tanh
  167. test_md5
  168. MD5 test suite:
  169. OK
  170. test_pow
  171. Testing integer mode...
  172.     Testing 2-argument pow() function...
  173.     Testing 3-argument pow() function...
  174. Testing long integer mode...
  175.     Testing 2-argument pow() function...
  176.     Testing 3-argument pow() function...
  177. Testing floating point mode...
  178.     Testing 3-argument pow() function...
  179. The number in both columns should match.
  180. 3 3
  181. -5 -5
  182. -1 -1
  183. 5 5
  184. -3 -3
  185. -7 -7
  186.  
  187. 3L 3L
  188. -5L -5L
  189. -1L -1L
  190. 5L 5L
  191. -3L -3L
  192. -7L -7L
  193.  
  194. 3.0 3.0
  195. -5.0 -5.0
  196. -1.0 -1.0
  197. -7.0 -7.0
  198.  
  199. testing...
  200. test_strop
  201. Passed all tests.
  202.